<?php
   include(dirname(__FILE__) . "/connect_flag.php");
   include(dirname(__FILE__) . "/functions.php");
    
     $query="SELECT * FROM badge_id ORDER BY `id` ASC LIMIT 0, 10 ";
      $result = mysqli_query($con, $query) or die("query:" . mysql_error($con));
	  $exp_date = mysqli_result($result,$i,"exp_date"); 
    if (!$exp_date == "") {
     echo  "<h5 align='left'>Expires : ".$exp_date."</h5>";
 }else{ 
      echo "";
  }
?>
